window.OBR = window.OBR||{};(function(OBR){window.OBR._jsc={};OBR.error=function(a){var d=["www.vanguardngr.com"];if(!0!==a){var b,c=document,f=window.OB_releaseVer,g=a.isMonitorRepeated?"&isMonitorRepeated=true":"";d=window.location&&window.location.hostname&&-1l&&0');window.OBR.b.w(a.A()).appendChild(c);window.OBR.b.w(a.A()).appendChild(d)}; db=function(){window.document.addEventListener("DOMContentLoaded",function(){var a=window.document.createElement("div");a.className="ctcg_87158";a.setAttribute("style","width:1px;height:1px");window.document.body.appendChild(a)})}; hb=function(a){(function(b){function c(a){return b.getElementsByClassName?b.getElementsByClassName(a):b.querySelectorAll("."+a)}var d=JSON.stringify({Request_id:a.l("req_id","-1"),publisher_id:a.l("pid","0"),source_id:a.l("sid","0"),widget_id:a.l("widgetJsId",a.D()),pv_id:a.l("pvId","-1")}),e="https:"===window.location.protocol?"https:":"http:",g=b.createElement("script"),f=c("ct_invocation_87158").length,h=c("ctcg_87158");g.className="ct_invocation_87158 ct_invocation_87158_"+f;h&&h[0]&&(h[0].className= "ctcg_87158_"+f);g.setAttribute("tpc","[ENTER_CLICK_URL_UNESCAPED]");g.setAttribute("tpi","[ENTER_IMPRESSION_URL_UNESCAPED]");g.setAttribute("ch",d);g.src=e+"//ob.cheqzone.com/placement_invocation?id=87158&idx="+f;b.getElementsByTagName("head")[0].appendChild(g)})(window.document)};kb=function(a,b){a.m.add("onFDStatusReady",b)};z=function(a){var b=Xa,c={cheqEvent:0,exitReason:a.f};b.m&&(c.responseTime=b.m);Wa(b,c);a.jk=!0;a.m.G("onFDStatusReady");window.OBR.h.log("FD finished")}; lb=function(a){if(a){a=window.OBR.b.w(a.A());var b=["ob-dynamic-rec-container"].map(function(b){return"."+b}).join(",");return[].slice.call(a.querySelectorAll(b))}};mb=function(a){if(!a)return null;var b=".ob-rec-image-container .ob-rec-text .ob-rec-source .ob-rec-description .ob-grid-button-container .ob-rec-logo .ob-rec-date .ob-rec-author".split(" ").reduce(function(b,d){return a.querySelector(d)?b+"1":b+"0"},"");return b?b:null};nb=function(a){if(a)return[window.OBR.b.w(a.A())]}; pb=function(){this.startTime=Date.now();this.m=[];ob(this)};ob=function(a){window.OBR.c.dn&&window.addEventListener("unload",function(){a.u()})};qb=function(){this.B=new pb;this.nc=window.OBR.W.od();this.Db=this.Db.bind(this);this.Ah=this.Ah.bind(this);this.Ye=this.Ye.bind(this);this.u=lb;this.m=nb;this.f=[]}; rb=function(){this.u={x:0,y:0,width:Math.max(window.document.documentElement.clientWidth,window.innerWidth||0),height:Math.max(window.document.documentElement.clientHeight,window.innerHeight||0)}};tb=function(a){var b=sb;[].slice.call(a.Oa.querySelectorAll(".ob-lazy-bgimg, .ob-lazy-img")).forEach(function(c){c={callback:b.m.bind(b),callbackParams:[a,c],element:c,rootMargin:""+a.rootMargin,threshold:[0,.5,1],unobserve:!0};(new window.OBR.IntersectionObserver(c)).observe()})}; ub=function(a){if(a){var b=!1,c=window.NaN,d=window.NaN,e=!1,g=a.querySelectorAll("a");g&&0!==g.length&&(g.forEach(function(b){b.addEventListener("click",function(b){if(e)return b.preventDefault(),!1})}),a.addEventListener("mousedown",function(f){b=!0;c=f.clientX;d=a.scrollLeft;e=!1;a&&(a.style.cursor="grabbing",a.classList.add("ob-grabbing"))}),g=function(){b&&(b=!1,a&&(a.style.cursor="",a.classList.remove("ob-grabbing")),a.scrollLeft=a.scrollLeft,e=a.scrollLeft!==d)},a.addEventListener("mouseup", g),a.addEventListener("mouseleave",g),a.addEventListener("mousemove",function(f){b&&(a.scrollLeft=d+(c-f.clientX))}),window.OBR.b.J("\n .ob-grabbing {\n scroll-behavior: auto !important;\n }\n .ob-grabbing a {\n cursor: grabbing !important;\n scroll-snap-align: none !important;\n }\n .ob-grabbing > * {\n scroll-snap-align: none !important;\n }\n .ob-grabbing img {\n -webkit-user-drag: none;\n -khtml-user-drag: none;\n -moz-user-drag: none;\n -o-user-drag: none;\n user-drag: none;\n }\n "))}}; vb=function(a,b){this.o=a;this.B=b;this.f=window.OBR.c.Uh+"logger/v1/widget/";this.u=this.o.l("req_id",-1)+(new Date).getTime();this.m=!0};ca="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){a!=Array.prototype&&a!=Object.prototype&&(a[b]=c.value)};u="undefined"!=typeof window&&window===this?this:"undefined"!=typeof window.global&&null!=window.global?window.global:this;ba=function(){var a=0;return function(b){return"jscomp_symbol_"+(b||"")+a++}}(); OBR._jsc.wb="function"==typeof Object.create?Object.create:function(a){function b(){}b.prototype=a;return new b};if("function"==typeof Object.setPrototypeOf)xb=Object.setPrototypeOf;else{var yb;a:{var zb={ro:!0},Ab={};try{Ab.__proto__=zb;yb=Ab.ro;break a}catch(a){}yb=!1}xb=yb?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null}OBR._jsc.Bb=xb; w("Array.prototype.find",function(a){return a?a:function(b,a){a:{var c=this;c instanceof String&&(c=String(c));for(var e=c.length,g=0;g=g}}); w("Promise",function(a){function b(b){this.m=0;this.P=void 0;this.f=[];var a=this.u();try{b(a.resolve,a.reject)}catch(k){a.reject(k)}}function c(){this.f=null}function d(a){return a instanceof b?a:new b(function(b){b(a)})}if(a)return a;c.prototype.m=function(b){null==this.f&&(this.f=[],this.B());this.f.push(b)};c.prototype.B=function(){var b=this;this.u(function(){b.Z()})};var e=u.setTimeout;c.prototype.u=function(b){e(b,0)};c.prototype.Z=function(){for(;this.f&&this.f.length;){var b=this.f;this.f= [];for(var a=0;aa&&(a=Math.max(a+e,0));a=e}});w("Array.prototype.entries",function(a){return a?a:function(){return ja(this,function(a,c){return[a,c]})}});Function.prototype.bind||(Function.prototype.bind=function(a){function b(){return e.apply(this instanceof c?this:a,d.concat(Array.prototype.slice.call(arguments)))}function c(){}if("function"!==typeof this)throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");var d=Array.prototype.slice.call(arguments,1),e=this;this.prototype&&(c.prototype=this.prototype);b.prototype=new c;return b}); window.NodeList&&!window.NodeList.prototype.forEach&&(window.NodeList.prototype.forEach=function(a,b){b=b||window;for(var c=0;c>2;e=(e&3)<<4|g>>4;var k=(g&15)<<2|f>>6;var l=f&63;(0,window.isNaN)(g)?k=l=64:(0,window.isNaN)(f)&&(l=64);c=c+this.ee.charAt(h)+this.ee.charAt(e)+this.ee.charAt(k)+this.ee.charAt(l)}return c},po:function(a){a=a.replace(/\r\n/g,"\n");for(var b="",d=0;de?b+=String.fromCharCode(e):(127e?b+=String.fromCharCode(e>>6|192):(b+=String.fromCharCode(e>>12|224),b+=String.fromCharCode(e>>6&63|128)),b+=String.fromCharCode(e&63|128))}return b}};window.btoa=function(b){return a.encode(b)}}})(); (function(){function a(a,b){for(var c=e.length,f;c--;)f=e[c],f.entryType!=a||void 0!==b&&f.name!=b||e.splice(c,1)}function b(a,b){for(var c=0,f=e.length,d=[];cd.length&&d.push(b+" >"+a)};b.prototype.printLog=function(){if(c.c.ns)window.console.log(d.join("\n"));else{var a=c.b.Ae();a&&(a.innerHTML=d.join("
"),a.style.display="block")}return d.join("\n")};a.h=a.h||new b;a.printLog=a.h.printLog})(window.OBR);ka.prototype.add=function(a,b){if("string"===typeof a&&"function"===typeof b){var c={};c.name=a;c.Dc=b;this.f.push(c)}};ka.prototype.G=function(a,b,c,d){b=b||[];c=!!c;this.m||window.OBR.Mk.vq(a,d);window.OBR.h.log("event fire:"+a);for(var e=0,g=this.f.length;eg.length))for(var k=0,l=g.length;ka.height?"landscape":"portrait"};b.Sk=function(){var a=window.jQuery;return void 0!==a?!(/1\.(0|1|2|3|4)\.(0|1)/.test(a.fn.jquery)||/^1\.1/.test(a.fn.jquery)||/^1\.2/.test(a.fn.jquery)||/^1\.3/.test(a.fn.jquery)):!1};b.w=function(a){return null===a||(0,window.isNaN)(a)?null:d.Y("outbrain_widget_"+a)};b.Ae=function(){return d.Y("ob_holder")};b.Jj=function(a){var c=b.Ae();null===c&&(c=d.b.createElement("div","ob_holder"),c.style.display="none",a?d.b.insertBefore(c,a):window.document.body.appendChild(c)); return c};b.Zk=function(a,c){var f=d.Y(a);f||(f=d.b.createElement("iframe",a),a=f.style,a.display="none",a.width="1px",a.height="1px",f.src=c||"about:blank",(c=b.Ae())||(c=b.gc()),d.b.hb(f,c))};b.gc=function(){if(c.body)return c.body;var a;var b=d.b.Ea("","","body",!0);0>=b.length?a=c.lastChild:a=b[0];return a};b.createElement=function(a,b,d,e){var f;a=c.createElement(a);"string"===typeof b&&a.setAttribute("id",b);"string"===typeof d&&(a.style.cssText=d);for(f in e)e.hasOwnProperty(f)&&a.setAttribute(f, e[f]);return a};b.J=function(a){if(d.c.ac===d.c.Vi)try{c.createStyleSheet().cssText=a}catch(k){window.OBR.h.log(k)}else{var b=c.createElement("style"),g=c.body?"string"===typeof c.body.style.WebkitAppearance:!1;b.type="text/css";c.getElementsByTagName("head")[0].appendChild(b);b[g?"innerText":"innerHTML"]=a}};b.sa=function(a,b,e,k,l){a=c.createElement("script");a.type=d.c.Us;a.src=b;a.charset="UTF-8";a.async=!!e;a.defer=!1;k&&d.b.aa(a,"load",function(a){var b=a.target;b&&(0,window.setTimeout)(function(){b.parentNode.removeChild(b)}, 3E3)});typeof l===d.c.Dc&&d.b.aa(a,"load",l);return a};b.Ow=function(a,b){a=d.b.createElement("link",a);a.setAttribute("rel","stylesheet");a.setAttribute("type",d.c.$p);b&&a.setAttribute("href",b);return a};b.kp=function(a){var b=d.Y("ob_iframe");b&&(b.src=a)};b.bi=function(a){a=(0,window.isNaN)(a)?1E5:a;return Math.floor(Math.random()*a)};b.tu=function(a,b,c){return a.replace(b,c)};b.ua=function(a){var b=c.getElementsByTagName("head");try{if(b&&0=a.length?a:""};b.jh= function(a){for(var b in d.Nc)if(d.Nc.hasOwnProperty(b)&&d.Nc[b].C===a)return d.Nc[b];return null};b.wx=function(a){for(var b in a)if(a.hasOwnProperty(b))return!1;return!0};b.os=function(a,b){for(b=b.parentNode;null!==b;){if(b===a)return!0;b=b.parentNode}return!1};b.Cc=function(a,b){return"function"!==typeof a?null:void 0===b?a():a(b)};b.tx=function(){return"Microsoft Internet Explorer"===window.navigator.appName};b.bq=function(a,b){return a*b};b.qk=function(a){if(!a||""===a)return[];a=a.replace("", "").replace("http://","").replace("https://","").replace("www.","").replace("www2.","").split("/");a.pop();return 0=a.length)c=a.join(".");else{d[0]=a[0];for(f=1;f<=c;f+=1)d[f]=a[f];c=d.join(".")}return c};b.lr=function(){return"http"+("https:"===c.location.protocol?"s":"")};b.Yk=function(a,b){b.parentNode.insertBefore(a,b.nextSibling)};b.jr=function(){var a=c.getElementById("widgetVersionSync");if(null===a){a=b.createElement("iframe","widgetVersionSync"); var d=b.createElement("div",null,"display:none; height:0px; width:0px; border:none;");d.appendChild(a);b.gc().appendChild(d)}return a};b.uw=function(a){var c=window.OB_releaseVer;(0,window.isNaN)(c)||(0,window.isNaN)(a)||c>=a||(a=b.lr()+"://widgets.outbrain.com/external/sync/outbrainjs.html?needToBeVer="+a.toString(),b.jr().src=a)};b.Io=function(a){a=a.j("widgetVersionSync",0);(0,window.isNaN)(a)||""===a||(a=(0,window.parseInt)(a,10)||0,b.uw(a))};a.ph=function(){if(e)return e;try{var a=window.localStorage; a.setItem("OBtst","");a.removeItem("OBtst");var b=a}catch(h){b={yf:{},setItem:function(a,b){this.yf[a]=b},removeItem:function(a){this.yf[a]=void 0},getItem:function(a){return"undefined"!==typeof this.yf[a]?this.yf[a]:null}}}return e=b};b.Ha=function(b,c){a.ph().setItem(b,c)};b.pr=function(){var a=Math.round(16777215*Math.random());return"rgb("+(a>>16)+", "+(a>>8&255)+", "+(a&255)+")"};b.da=function(b,c){return(b=a.ph().getItem(b))?b:c};b.pe=function(b){a.ph().removeItem(b)};b.lw=function(a){var b= {};b.cpv=a[0];b.convPerc=a[1];b.convPixel=a[2];b.vidId=a[3];b.player=a[4];b.pos=a[5];b.adId=a[6];b.docEncId=a[7];b.origUrl=a[8];b.trafficUrl=a[9];b.duration=a[10];b.widgetIdx=a[11];b.title=a[12];b.sourceName=a[13];b.reqId=a[14];b.platform=a[15];b.lang=a[16];b.uuid=a[17];b.publisherId=a[18];b.sourceId=a[19];b.widgetNumberId=a[20];b.campaignId=a[21];b.location=a[22];b.timestamp=a[23];return b};b.assign=function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c]);return a};b.ss=function(a){var c=!1; b.wd(a)||(c=a.nodeName&&"span"===a.nodeName.toLowerCase());return c};b.xq=function(a,b){if("_blank"===(b.getAttribute("target")||"_self"))for(var c in a)d.b.wb("obm-firePixelBeforeRedirect","pixel fired before redirect",!1,10),b=window.document.createElement("img"),b.setAttribute("src",a[c]),b.setAttribute("height","1"),b.setAttribute("width","1"),window.document.body.appendChild(b);else d.b.wb("obm-firePixelBeforeRedirectCancelled","pixel cancelled redirect on same page ",!1,10)};b.yq=function(a){a&& window.document&&window.document.body&&a.forEach(function(a){var b=window.OBR.b.createElement("img",null,"display:none;width:1px;height:1px");b.src=a;window.document.body.appendChild(b)})};b.wb=function(a,b,c,e){((0,window.isNaN)(e)||0===d.b.bi(e))&&window.OBR.error({name:a,message:b,vx:!0===c})};b.hm=function(a){return a&&a.split("&").reduce(function(a,b){b=b.split("=");a[b[0]]=b[1];return a},{})};b.ui=function(a){return Object.keys(a).reduce(function(b,c){b.push(c+"="+(0,window.encodeURIComponent)(a[c])); return b},[]).join("&")};b.Wh=function(a){if(a&&"string"===typeof a&&(a=a.split("-"))&&2===a.length)return{xi:a[1],Di:a[0]}};b.v(window.OBR);return b}(); window.OBR.tc=function(a,b,c,d,e,g,f,h,k){var l=this;var m=0;k="function"===typeof k?k:window.OBR.b.bq;l.start=function(){m+=1;if(window.OBR.b.Cc(a,m))window.OBR.b.Cc(b,m);else if(window.OBR.b.Cc(h,m))window.OBR.b.Cc(d,m);else if(m===g&&1E3!==g)window.OBR.b.Cc(d,m);else{window.OBR.b.Cc(c,m);var n=f?k(m,e):e;(0,window.setTimeout)(function(){l.start()},n)}};l.start()}; window.OBR.Pj=window.OBR.Pj||{ps:function(){return"complete"===window.document.readyState},As:function(){return"interactive"===window.document.readyState||this.ps()}};window.OBR.Wg=function(){var a={},b=[];a.add=function(a){b.push(a)};a.remove=function(a){b.splice(a,1)};a.top=function(){return 0=b.length};a.gx=function(){return b};a.Ep=function(){b=[]};return a}; window.OBR.Promise=function(){function a(a,e){b.then="resolve"===a?function(a){a&&a(e)}:function(a,b){b&&b(e)};b.resolve=b.reject=function(){throw Error("Promise already completed.");};for(var d,f=0;d=c[f++];)d[a]&&d[a](e);c=void 0}var b={},c=[];b.then=function(a,b){c.push({resolve:a,reject:b})};b.resolve=function(b){a("resolve",b)};b.reject=function(b){a("reject",b)};return b}; window.OBR.Ln=function(a){var b={},c=null,d,e;b.onClickOrAutoplay=void 0;b.onDisplayReady=void 0;b.onError=void 0;b.fetch=function(a){null===c?(c=a,e&&e(c,this),e=null):(c=a,window.OBR.ic.Dl([this]))};b.shown=function(b){d=b;window.OBR.ic&&window.OBR.ic.tw(a.widgetId,a.playerId,d)};b.stopTimer=function(){if(this.kn){window.clearInterval(this.kn);var b=window.document.querySelector('[data-ob-player-id="'+a.playerId+'"] .timerNumber');b&&(b.textContent=b.parentElement.getAttribute("data-time"))}};b.fullscreenChange= function(b){window.OBR.ic.Fr(b,a.playerId)};b.placed=function(){window.OBR.ic.sw(a.playerId)};b.Rs=function(a){e=a;c&&e(c,this)};b.Lb=function(){return a};b.cx=function(){return d};b.kx=function(){return a.when};return b}; window.OBR.cj=function(){var a={},b="00.000",c=null,d=null,e=0;a.start=function(){null===c&&(c=new Date);null!==d&&(e+=new Date-d)};a.stop=function(){var a=new Date(new Date-c-e),f=a.getUTCSeconds();a=a.getUTCMilliseconds();d=new Date;return b=(9a.expiry?(window.OBR.b.pe("OB-TPCS"),null):a.value},Jd:function(b){-1===a.yi&&(a.yi=b)}};window.OBR.Wc=d}();window.OBR.Ob=window.OBR.Ob||function(){var a={key:null};(function(){a:{var a=window.OBR.b.da("OB_LS_CONTEXT",null);if(a)try{var c=JSON.parse(a);if(c.key){var d=c;break a}}catch(g){window.OBR.h.log("Failed to parse stored value OB_LS_CONTEXT")}d=null}if(d&&"disabled"!==d.key){if(d=d.key){c=window.OBR.b.da(d,null);if(!c&&0d+1&&b.push(g)}b.push(!1);for(d=0;dk&&(b=k)}}catch(l){window.OBR.h("Error parsing last page view info")}c.b.Ha("OB-lastPageViewInfo",JSON.stringify({url:a,Lx:d}))}return b};b.Ur=function(){c.c.Zc=!1};b.register=function(d){a.Rh.add(d);c.h.log("register odb for "+d.ia());b.G()};b.ap=function(a){b.unlock(a.C, a.D());b.G()};b.ma=function(){a.Rh.Ep();a.Cd.ec();a.td=!1};b.ga=function(){a.Bb=c;return a};b.v(window.OBR);return b}();window.OBR.controller=window.OBR.controller||function(){var a=this,b,c={},d={},e;c.Ve="manualDataReady";c.Kl="manualEditorialDataReady";c.Ih="manualClickReady";var g=!1;c.v=function(a){b=a=a||window.OBR;e=new b.Ca;d.Fh();c.Rr();window.OBR.Wc.test()};c.ga=function(){return d};c.Nx=function(a){e.add("onHtmlReturn",a)};c.ku=function(a){e.add("noRecs",a)};d.bw=function(a){if(b.c.ac!==b.c.Ni&&b.c.ac!==b.c.Ri&&!b.c.wa&&window.document.querySelectorAll){var c=b.b.w(a.A()).querySelectorAll(".ob-dynamic-rec-link,A.item-link-container,DIV.item-container > A:first-child,.odb_li .rec-link"); for(a=0;a=f.sr(a)&&e.G("noRecs",[f]),f.ud()||(f.setData(a),f.Tm(), f.Xu(),b.na.Sm(f.l("t",null)),b.c.wa="mobile"===f.l("readerPlatform","desktop")||b.c.xs,b.c.hf=f.l("readerPlatform","desktop"),c.ak(f,g),d.ul(f)||f.Dh()||d.Ts(f.Be())?Na(b.Na,f):(b.na.Fu(f.j("apv",!1)),c.Gs(f)?c.qc(g):c.Hr(f),c.Qk(f))),c.wq(f)):b.h.log("odbHtmlReturned : Widget not found")};c.ak=function(a,b){e.G("odbRtn_"+a.D(),[a]);e.G("odbRtn_"+b,[a]);e.G("onHtmlReturn",[a],!1,a)};c.Qk=function(a){d.Bp(a);d.zp(a);d.yp(a);d.Dp(a);d.Ap(a);d.sp(a);d.wp(a);d.np(a);d.up(a);d.xp(a);d.vp(a);d.rp(a);d.pp(a); d.qp(a);d.op(a);window.OBR.Yd.Yc(a)};d.Bd=function(a){return 1E3>a?a:a%1E3};d.Ts=function(a){var c=!1;null!==a.match(/(<\/?met|<\/?scr)/i)&&(c=!0,b.h.log("SECURITY"));return c};c.wq=function(a){d.ul(a)||(b.na.unlock(a.C,a.D()),b.na.G())};d.zp=function(a){!b.c.wa&&a.Os()&&a.Is()?b.g.F(b.g.i.jg,function(a){b.Vm.v(a)},this,a):a.Ms()?b.g.F(b.g.i.og,function(a){b.Ub.v(a)},this,a):b.c.wa&&a.Cs()?b.g.F(b.g.i.Ui,function(a){d.Tv(a)},this,a):a.us()?b.g.F(b.g.i.Tf,function(a){window.OBR.Eq.init(a)},this,a): a.vb()&&b.g.F(b.g.i.ae,function(a){window.OBR.zf.init({gm:a,Ug:a.j("feedManualChunkFetch",!1),Al:a.j("sideElementFeedLimiter",null)})},this,a)};d.Tv=function(a){var b=a.j("megaBlocksData","{}"),c={};try{c=JSON.parse(b)}catch(l){c={},window.OBR.error({name:"TypeError",message:"Error parsing mega blocks json data"})}c.obuid=a.l("lsd","");c.css=a.j("dynamicCustomCSS","")+"\n"+a.j("nanoCustomCss","");new window.OBRMega(c)};d.yp=function(a){b.c.wa&&!0===a.j("isReadMoreEnabled",!1)&&b.g.F(b.g.i.dg,function(a){b.du.v(a)}, this,a)};d.Bp=function(a){b.c.wa&&a.Eh()&&3===a.j("dynamicDynamicLayoutVersion",3)&&b.g.F(b.g.i.lg,function(a){b.vi.v(a)},this,a)};d.Ap=function(a){a.al()&&b.g.F(b.g.i.Gf,function(a){b.Zb.v(a)},this,a)};d.wp=function(a){a.tl()&&b.g.F(b.g.i.ig,function(a){b.vf.v(a)},this,a)};d.np=function(a){a.ms()&&window.OBR.g.F(window.OBR.g.i.Jf,function(a){window.OBR.yj.v(a)},this,a)};d.sp=function(a){a.l("obPerformance")&&(window.OBR.c.Xe=!0,d.El())};d.up=function(a){a.Es()&&b.g.F(b.g.i.Xf,function(a){b.jm.v(a)}, this,a)};d.vp=function(a){a.pl()&&b.g.F(b.g.i.Yf,function(a){b.cf.v(a)},this,a)};d.pp=function(a){a.ys()&&window.OBR.g.F(window.OBR.g.i.Uf,function(a){window.OBR.Nk.v(a)},this,a)};d.qp=function(a){a.j("listoryEnabled",!1)&&c.nf(a,window.OBR.g.i.Wi,function(a){window.OB_LISTORY.init(a.currentWidget);window.OBR.h.log("outbrain-listory loaded")})};d.rp=function(a){if(a.j("isParallax",!1)){var b=a.j("widgetLocationReference","");(b=b&&window.document.querySelector(b))&&window.OBR.b.Yk(window.OBR.b.w(a.A()), b);a=!!window.navigator.platform.match(/iPhone|iPod|iPad/);var c=window.document.querySelector(".ob-rec-image-container.ob-parallax-img"),d=window.document.querySelector(".ob-parallax-img .ob-rec-image,.ob-parallax-img .ob-rec-rtb-image");d.style.transition="background-position 150ms linear";var e=!0,f=!1,g=function(){var a=c.getBoundingClientRect(),b=a.top/(window.innerHeight-a.height)*100;window.innerHeight<=window.innerWidth&&(b=a.top/(window.innerHeight+a.height/2)*100);d.style.backgroundPositionY= f?b+"%":"center";e&&f&&(e=!1,(0,window.setTimeout)(function(){d.style.transition="none";d.offsetHeight},200));f=!0},p=function(){g();(0,window.requestAnimationFrame)(p)};(new window.OBR.IntersectionObserver({element:c,callback:a?function(){return(0,window.requestAnimationFrame)(p)}:function(){return window.addEventListener("scroll",g)},threshold:[0],unobserve:!0})).observe();a?(0,window.requestAnimationFrame)(p):g()}};d.xp=function(a){a.Ls()&&window.OBR.g.F(window.OBR.g.i.ng,function(a){window.OBR.jn.v(a)}, this,a)};d.op=function(b){b.fl()&&window.OBR.g.F(window.OBR.g.i.Pf,function(a){return window.OBR.Oj.v(a)},a,b)};d.Dp=function(a){var b=(a=window.OBR.b.w(a.A()))&&a.querySelector(".sponsorship-image");null!=b&&0>b.classList.toString().indexOf("size")&&d.Ao(a.clientWidth,b)};d.Ao=function(a,c){b.b.N(c,700= d?((0,window.clearInterval)(f),c.resolve(b)):(b.style.opacity=d,a.c.ml?d=0:(b.style.filter="alpha(opacity="+100*d+")",d-=.1*d))},10);return c};b.Lr=function(b){var c=new a.Promise;b.style.opacity=0;(0,window.setTimeout)(function(){c.resolve(b)},0);return c};b.nv=function(c,e,g,f){var d=new a.Promise;b.sf(e,c,g,f);(0,window.setTimeout)(function(){d.resolve(c)},0);return d};b.sf=function(c,e,g,f){e.innerHTML="";a.b.hb(c,e);b.jd(f,g)};b.jd=function(a,b){c.G("afterRender",[b],!1,a)};b.mq=function(b){var c= new a.Promise,d=.1,f=(0,window.setInterval)(function(){1<=d?((0,window.clearInterval)(f),b.removeAttribute("style"),c.resolve(b)):(b.style.opacity=d,a.c.ml?d=1:(b.style.filter="alpha(opacity="+100*d+")",d+=1.6*d))},50)};b.Hx=function(a){c.add("beforeRender",a)};b.Qb=function(a){c.add("afterRender",a)};b.bs=function(b){a.b.Hs(b)&&window.OBR.g.F(window.OBR.g.i.hg,function(a){window.OBR.scroll.Mh(a)},this,b)};b.Yr=function(c){window.OBR.g.F(window.OBR.g.i.$f,a.b.fc(),this);window.OBR.g.F(window.OBR.g.i.Sf, function(){b.Dq(c);a.controller.Hd(c)},this)};b.Dq=function(a){b.Wk(window.OBR.xe.Sr(a),a);window.OBR.xe.v()};b.qc=function(c){a.h.log("HTML - render widget");b.Wk(c.Be(),c);c.yb(!0)};b.ma=function(){c.ec()};b.v(window.OBR);return b}();window.OBR.gf=window.OBR.gf||{set:Ia,get:Ja};window.OBR.ej=window.OBR.ej||function(a){var b={},c=window.OBR,d={},e={},g={},f={},h="",k=null,l=null,m=null,n=null,q=!1,p=0,r="html",y=!1,D=4E3,B="nano",E=!1,qa=!1,N=0,ra=!1,sa=!1,ta=null,ua=null,va=null,S=null,wa=null,xa=null,ya=null,za=!1;new window.OBR.Ca;var Aa=!1,Ba=-1,da=null,Ca=null,Da,Ea=null,Fa=!0,Ga=!1,T=null,Nb=null,Ob=null,Pb=null,Qb=null,Rb=!1,Sb=null,Tb=null,Ub=null,Vb=null,Wb=null,Xb=!1,Yb=null,Zb=!1,$b=null,ac=null,bc=null,cc=null,dc=null,ec=null;b.Dw=0;b.Cw=1E3;b.xw=2;b.C=a;b.ue= "";b.ba={};b.rq={slow:7E3,normal:5E3,fast:3E3,qa:5};b.setData=function(a){a&&a.response&&(a=a.response,a.request&&(e=a.request),a.settings&&(d=a.settings),a.meta&&(g=a.meta),a.data&&(f=a.data),a.viewability_actions&&(g.viewability_actions=a.viewability_actions),a.timestamp&&(k=a.timestamp),a.html&&(h=a.html),y=!0)};b.Ib=function(){return d};b.$q=function(){return g};b.kv=function(a){a&&"object"===typeof a&&(g=a)};b.j=function(a,b){a=d[a];return"undefined"!==typeof a&&null!==a?a:b};b.gb=function(a, b){a=g[a];return"undefined"!==typeof a&&null!==a?a:b};b.Lb=function(a,b){a=f[a];return"undefined"!==typeof a&&null!==a?a:b};b.sr=function(a){return a&&a.response&&a.response.request&&(a=a.response.request,a=a.tcr)?a:-1};b.l=function(a,b){return(a=e[a])?a:b};b.oh=function(a){var b=e.obcnsnt;return!1===b?!1:!0===b?!0:a};b.Be=function(){return h};b.sf=function(a){h=a};b.rh=function(){return k};b.Hv=function(a){b.uf(a.permalink);b.Kv(a.widgetId);b.Qu(a.dynLoad);b.Lv(a.widgetType);b.Jv(a.fbk);b.Su(a.timeout); b.zv(a.srcUrl);b.Av(a.testMode);b.Iv(a.wizWidget);b.Ru(a.extId);b.av(a.installationKey);b.bv(a.installationType);b.Eu(a.appVer);b.Du(a.userId);b.Ev(a.videoId);b.tv(a.playerSrcId);b.$u(a.inPlayer);b.uv(a.rtbEnabled);b.ov(a.num);b.Iu(a.cardIdx);b.Uu(a.feedFatherIdx);b.Jm(a.feedFatherIdx);b.Ju(a.categoryIds);b.yv(a.servePc);b.gv(a.maxNumAds);b.vv(a.recMode);b.hv(a.maxNumOrganicRecs);b.iv(a.maxRTB);b.jv(a.maxZRTB);b.ev(a.isZVRTB);b.fv(a.maxBSRTB);b.cv(a.isBSVRTB);b.Fv(a.videoPlaybackMethod);b.Gv(a.videoWidth); b.Dv(a.videoHeight);b.Tu(a.fId);b.Lu(a.clickTrackerUrl);b.Vu(a.feedVersion);"boolean"===typeof a.isManualWidget&&b.dv(a.isManualWidget)};b.D=function(){return l};b.Kv=function(a){l="string"===typeof a?a:"NA"};b.Wu=function(){r="vjapi"};b.uk=function(){return r};b.Rx=function(a){p=a};b.$w=function(){return p};b.ia=function(){return m};b.uf=function(a){m=a};b.sh=function(){return xa};b.Ev=function(a){xa=a};b.Bk=function(){return ya};b.Iu=function(a){Ba=a};b.dh=function(){return Ba};b.Uu=function(a){da= a};b.ex=function(){return da};b.Jm=function(a){Ca=c.s[a]};b.eh=function(){return Qb};b.Ju=function(a){Qb=a};b.hc=function(){return Ca};b.sk=function(){return b.hc()?b.hc().l("wnid",null):dc};b.Gc=function(){return b.hc()?b.hc().l("abTestVal",null):null};b.fx=function(){return da};b.Pm=function(a){T=a};b.kh=function(){return T};b.Rm=function(a){Nb=a};b.mh=function(){return Nb};b.Qm=function(a){Ob=a};b.lh=function(){return Ob};b.qv=function(a){Pb=a};b.kr=function(){return Pb};b.ts=function(){return-1< (0,window.parseInt)(b.dh(),10)};b.tv=function(a){ya=a};b.$u=function(a){za=a};b.jl=function(){return za};b.Av=function(a){ra="true"===a||!0===a};b.qh=function(){return ra};b.Iv=function(a){sa="true"===a||!0===a};b.Ss=function(){return sa};b.Ru=function(a){ta=a};b.Fc=function(){return ta};b.uv=function(a){Ga=a};b.ql=function(){return Ga};b.Ux=function(a){Fa=a};b.vl=function(){return Fa};b.ov=function(a){(0,window.isNaN)(a)||(Ea=a)};b.Ee=function(){return Ea};b.av=function(a){ua=a};b.bv=function(a){va= a};b.Eu=function(a){S=a};b.Du=function(a){wa=a};b.fb=function(){return wa};b.zv=function(a){n=a};b.Fk=function(){return n};b.qs=function(){return q};b.Qu=function(a){q="true"===a||!0===a};b.hl=function(){return"flyThrough"===b.j("displayMode","")};b.wl=function(){return"video"===b.j("displayMode","")};b.xx=function(){return"recInIframe"===b.j("displayMode","")};b.Dh=function(){return!0===b.j("stopRater",!1)||!0===b.j("stopWidget",!1)};b.dl=function(){return y};b.Is=function(){return!0===b.j("isSkylandersInjectionEnabled", !1)};b.Ms=function(){return!0===b.j("isTopBoxInjectionEnabled",!1)};b.Eh=function(){return null!==b.j("recMode","").match(/(odb_dynamic_swipe|odb_dynamic_smartfeed-swipe)/)};b.al=function(){return null!==b.j("recMode","").match(/(odb_dynamic_ad-carousel)/)};b.tl=function(){return null!==b.j("recMode","").match(/(odb_dynamic_single-card-carousel)/)};b.ms=function(){return null!==b.j("recMode","").match(/(odb_dynamic_cards-carousel-box)/)};b.Es=function(){return null!==b.j("recMode","").match(/(odb_playableAd)/)}; b.pl=function(){return null!==b.j("recMode","").match(/(odb_podcast)/)};b.ys=function(){return b.j("gridCarouselEnabled",!1)};b.Ls=function(){return null!==b.j("recMode","").match(/(odb_timeline)/)};b.fl=function(){return null!==b.j("recMode","").match(/(odb_dynamic_display)/)};b.zs=function(){return null!==b.j("recMode","").match(/(odb_dynamic_grid)/)};b.Cs=function(){return!0===b.j("isMegaBlockInjectionEnabled",!1)};b.js=function(){return""!==b.j("afterClickInjectorSelector","")};b.us=function(){return b.vb()&& b.j("recReasonType")&&-1c?a=window.OBR.b.Rq(m,c):a=b.ue;return a};b.ud=function(){return E};b.yb=function(a){E=!!a};b.rx=function(){return"hp"===B};b.dx=function(){return b.ba};b.Sx=function(a){"object"===typeof a&&(b.ba=a)};b.Re=function(){return qa};b.rk=function(){return D};b.Su=function(a){D=b.rq[a]||6E3};b.dv=function(a){qa=!!a};b.Tm=function(){var a=b.l("lsd",null),d=!0===b.l("oo",!1),e="string"===typeof a&&0=-c.offsetHeight)return Math.floor(d.top-window.document.documentElement.clientHeight); var e=b.Ck(),f=e&&e.height,g=e&&e.y;return f&&g?Math.floor(f+g-window.document.documentElement.scrollTop):null}catch(Vf){return null}};b.Ck=function(){if(b.Re())return null;try{var c=window.OBR.b.w(a);if(c){var d=c.getBoundingClientRect();return{x:Math.floor(d.left+(window.pageXOffset||window.document.documentElement.scrollLeft)),y:Math.floor(d.top+(window.pageYOffset||window.document.documentElement.scrollTop)),height:Math.abs(Math.floor(d.height)),width:Math.abs(Math.floor(d.width))}}return null}catch(Tf){return null}}; return b};window.OBR.Uc=window.OBR.Uc||function(){var a=window.OBR,b={},c=new a.Ca;b.Ng=function(b){b.idx=b.idx||0;var c=new a.ej(b.idx);c.Hv(b);return c};b.Yc=function(d){var e=a.Ba.Yp(d);a.b.Va(d,"data-dynLoad","");e.permalink=a.Ba.Cq(e.permalink);var g=0!==a.s.length||a.c.jc!==e.permalink&&!0!==a.c.Jh?a.s.length:1;e.idx=g;var f=b.Ng(e);a.s[g]=f;a.b.Va(d,"data-idx",g);a.c.ik(e);0===g&&a.b.Jj(d);d.id=a.c.Ff+g;c.G("onWidgetCreate",[f]);return f};b.bm=function(a){c.add("onWidgetCreate",a)};return b}(); window.OBR.Ba=window.OBR.Ba||function(){var a=window.OBR,b={Ra:{widgetId:{a:"data-widget-id",t:"string"},permalink:{a:"data-src",t:"string"},srcUrl:{a:"data-ob-srcUrl",t:"string"},dynLoad:{a:"data-dynLoad",t:"boolean"},widgetType:{a:"data-widget-type",t:"string"},timeout:{a:"data-timeout",t:"string"},fbk:{a:"data-fbk",t:"string"},testMode:{a:"data-ob-test",t:"boolean"},wizWidget:{a:"data-ob-wiz",t:"boolean"},installationKey:{a:"data-ob-installation-key",t:"string"},userId:{a:"data-ob-user-id",t:"string", n:!0},videoId:{a:"data-ob-video-id",t:"string"},playerSrcId:{a:"data-ob-player-src-id",t:"string"},inPlayer:{a:"data-ob-in-player",t:"boolean"},installationType:{a:"data-ob-installation-type",t:"string"},appVer:{a:"data-ob-app-ver",t:"string"},isSecured:{a:"data-is-secured",t:"boolean"},extId:{a:"data-external-id",t:"string"},rtbEnabled:{a:"data-rtb-enabled",t:"boolean"},va:{a:"data-va",t:"boolean"},num:{a:"data-num-of-recs",t:"string"},cardIdx:{a:"data-card-idx",t:"string"},feedFatherIdx:{a:"data-feed-father-idx", t:"string"},categoryIds:{a:"data-category-ids",t:"string"},servePc:{a:"data-servePc",t:"boolean"},maxNumAds:{a:"data-maxNumAds",t:"string"},recMode:{a:"data-recMode",t:"string"},maxNumOrganicRecs:{a:"data-maxNumOrganicRecs",t:"string"},maxRTB:{a:"data-maxRTB",t:"string"},maxZRTB:{a:"data-maxZRTB",t:"string"},isZVRTB:{a:"data-isZVRTB",t:"boolean"},maxBSRTB:{a:"data-maxBSRTB",t:"string"},isBSVRTB:{a:"data-isBSVRTB",t:"boolean"},videoPlaybackMethod:{a:"data-videoPlaybackMethod",t:"string"},videoWidth:{a:"data-videoWidth", t:"string"},videoHeight:{a:"data-videoHeight",t:"string"},fId:{a:"data-fId",t:"string"},clickTrackerUrl:{a:"data-click-url",t:"string"},feedVersion:{a:"data-feed-version",t:"string"}},Kk:function(b){var c,e;if(a.s){var g=a.s.length;for(c=0;c=window.OBR.W.gh()};window.OBR.b.aa(window,"resize",function(){a.oi(); a.Hm();a.Im()});a.oi();a.Hm();a.Im();return a}(); window.OBR.$d=window.OBR.$d||function(a){var b,c={},d="undefined"!==typeof window.OB_amp;c.Xh={Qi:1E4};if(a)for(b in a)a.hasOwnProperty(b)&&(c.Xh[b]=a[b]);c.bd=function(a,b,f){if(!a||0>b||100=b}a=a.getBoundingClientRect();e=window.OBR.W.Fa().height;a={top:a.top-f.top,height:a.height+ f.bottom,bottom:a.top+a.height+f.bottom};b=Math.round(a.height*b/100)||1;b=b>e?e-1:b;return a.top+b<=e&&0<=a.bottom-b};c.Jc=function(a,b,f,h){if(d){h=window.OBR.W.kk();if(!h)return!1;a=c.sj(a,h);h=c.rj(a,h)}else f=a=a.getBoundingClientRect(),h=h?h.getBoundingClientRect():{top:0,left:0,width:Math.max(window.document.documentElement.clientWidth,window.innerWidth||0),height:Math.max(window.document.documentElement.clientHeight,window.innerHeight||0)},h=(Math.min(f.width+f.left,h.width+h.left)-Math.max(f.left, h.left))*(Math.min(f.height+f.top,h.height+h.top)-Math.max(f.top,h.top));return h/(a.width*a.height)>=b/100};c.rj=function(a,b){b=b.rootBounds;a={left:Math.max(a.left,b.left),right:Math.min(a.right,b.right),top:Math.max(a.top,b.top),bottom:Math.min(a.bottom,b.bottom)};a.width=a.right-a.left;a.height=a.bottom-a.top;return a};c.sj=function(a,b){b=b.boundingClientRect;a=a.getBoundingClientRect();return{top:a.top+b.top,bottom:a.bottom+b.top,left:a.left+b.left,right:a.right+b.left,width:a.width,height:a.height}}; return c};window.OBR.g.K(window.OBR.g.i.$f);window.OBR.IntersectionObserver=window.OBR.IntersectionObserver||function(){function a(a){this.xa=this.nc=null;this.m=!1;this.u=null;this.O={callback:function(){},callbackParams:[],element:null,intersectPercentage:0,scrollDimmer:200,unobserve:!1,threshold:[1],rootMargin:"0px"};this.P(a)}a.prototype.P=function(a){a&&(this.O=Object.assign(this.O,a))};a.prototype.Z=function(){var a={rootMargin:this.O.rootMargin,threshold:this.O.threshold};this.O.root&&(a.root=this.O.root);this.u=new window.IntersectionObserver(this.ea.bind(this), a);this.u.observe(this.O.element);return this.u};a.prototype.ea=function(a,c){this.O.element&&window.document.body.contains(this.O.element)?a&&a[0]&&a[0].intersectionRatio>this.O.intersectPercentage&&(this.O.callback.apply(this,this.O.callbackParams),this.O.unobserve&&(c.unobserve(a[0].target),c.disconnect())):(c.unobserve(this.O.element),c.disconnect())};a.prototype.Aa=function(){var a=this.O.checkAbsoluteVisibility?this.nc.Jc:this.nc.bd;if(this.m)this.m=!1;else{var c=this.O.intersectPercentage; a(this.O.element,0<=c&&1>=c?100*c:c,this.O.rootMarginObj,this.O.root)&&(this.m=!0,this.O.callback.apply(this,this.O.callbackParams),this.O.unobserve&&window.OBR.b.lb(window,"scroll",this.f))}};a.prototype.B=function(){var a=this;this.O.element&&window.document.body.contains(this.O.element)?this.xa||(this.Aa(),(0,window.setTimeout)(function(){a.xa=!1},this.O.scrollDimmer),this.xa=!0):window.OBR.b.lb(window,"scroll",this.f)};a.prototype.Ua=function(){var a=this.O.rootMargin.split(" ");this.O.rootMarginObj= {top:(0,window.parseInt)(a[0]),right:(0,window.parseInt)(a[1]||a[0]),bottom:(0,window.parseInt)(a[2]||a[0]),left:(0,window.parseInt)(a[3]||a[0])}};a.prototype.unobserve=function(){window.OBR.c.th||window.removeEventListener("scroll",this.f);this.O=null};a.prototype.observe=function(){if(!this.O.element)return null;if(window.OBR.c.th)return this.Z();this.Ua();this.nc=window.OBR.W.od();this.f=this.B.bind(this);window.OBR.b.aa(window,"scroll",this.f);this.B();return this};return a}();Ma.prototype.rf=function(a){if(!a.pw){var b=a.A();this.f[b]||(this.f[b]=window.OBR.b.w(b));window.OBR.c.Go||(a=a.A(),(new window.OBR.IntersectionObserver({callback:this.Je.bind(this),callbackParams:[a],element:window.OBR.b.w(a),unobserve:!0,threshold:[0]})).observe())}};Ma.prototype.qf=function(){var a=this;this.f.forEach(function(b,c){void 0!==b&&b&&a.Yh.bd(b,0)&&a.Je(c)})}; Ma.prototype.ma=function(){this.xa=!1;this.f=[];this.m=new window.OBR.Wg;this.P=0;this.startTime=(new Date).getTime();this.u=!1};Ma.prototype.Je=function(a){if(null!==this.f[a]){var b=window.OBR.s[a];x(this,b,this.Ma.re);b.pw=!0;Ka(b);this.f[a]=null}return a};window.OBR.Na=window.OBR.Na||new Ma;window.OBR.qe=new function(){};(function(a){function b(){}b.prototype.ga=function(){return{lx:this.m.bind(this),Pw:this.f.bind(this),send:this.u.bind(this)}};b.prototype.zh=function(){return"undefined"!==typeof window.XMLHttpRequest};b.prototype.Js=function(){return"withCredentials"in new window.XMLHttpRequest?!0:"undefined"!==typeof window.XDomainRequest};b.prototype.get=function(a,b,e,g,f,h){var c=this.m();b=this.f(b);this.u(c,a+(b.length?"?"+b:""),e,"GET",null,g,f,h)};b.prototype.df=function(b,d,e){var c=this.m();d=this.f(d); this.u(c,b,e,a.c.fa.ka,d,!0)};b.prototype.Yt=function(a){var b=Fb,c=this.m();a=JSON.stringify(a);this.u(c,b,void 0,"POST",a,!0,"text/plain; charset=UTF-8")};b.prototype.Vs=function(b,d,e){d=this.f(d);b=a.b.sa("dataBI"+a.b.Ge(),b+(d.length?"?"+d:""),!0,!0,e);a.b.ua(b)};b.prototype.u=function(b,d,e,g,f,h,k,l){void 0===h&&(h=!0);var c="";try{c="Url: "+d+"\n"+Error().stack}catch(n){}b.addEventListener("error",function(){0!==b.status&&a.error({name:"obm-AjaxError",message:"Ajax error failed, method: "+ g+" With data: "+f,stack:c})});b.open(g,d,h);b.onreadystatechange=function(){4===b.readyState&&typeof e===a.c.Dc&&e(b.responseText)};l&&(b.withCredentials=!0);k?b.setRequestHeader("Content-type",k):g===a.c.fa.ka&&b.setRequestHeader("Content-type","application/x-www-form-urlencoded");b.send(f)};b.prototype.f=function(a){var b=[],c;for(c in a)a.hasOwnProperty(c)&&b.push((0,window.encodeURIComponent)(c)+"="+(0,window.encodeURIComponent)(a[c]));return b.join("&")};b.prototype.m=function(){if(this.zh())return new window.XMLHttpRequest; for(var a=["MSXML2.XmlHttp.6.0","MSXML2.XmlHttp.3.0"],b,e=0;e=Math.random()?fb(this):(window.OBR.h.log("FD stopped (gradual release)"),z(this))};var Gb=window.OBR,Hb;if(!(Hb=window.OBR.kd)){var Ib=new bb;Ib.start();Hb=Ib}Gb.kd=Hb;var Fb=window.OBR.c.bf+"api/loggerBatch/log-viewability";pb.prototype.log=function(a,b){a={timeElapsed:Date.now()-this.startTime,requestId:a.l("req_id",null),position:+b.getAttribute("data-pos"),renderables:mb(b)};this.m.push(a);10<=this.m.length?(this.f&&((0,window.clearTimeout)(this.f),this.f=null),this.u()):this.f||(this.f=(0,window.setTimeout)(this.u.bind(this),1200))}; pb.prototype.u=function(){this.f=null;if(this.m.length){var a=this.m.splice(0);a&&a.length?window.OBR.c.dn?window.navigator.sendBeacon(Fb,JSON.stringify(a)):window.OBR.ya.Yt(a):window.OBR.error(Error("Failed to send viewability data"))}};var Jb={Kg:!1};OBR._jsc.t=qb.prototype;OBR._jsc.t.Ah=function(a){return a.j("listingsViewability",!0)};OBR._jsc.t.Db=function(a,b){if(this.Ah(a)){var c=Object.assign({},Jb);c&&Object.assign(c,b);a.tn=c;c.gt||(b=a.tn.Kg?this.m(a):this.u(a))&&0d.y?c.height+=e:d.y>g.height&&(c.y-=e);b=b.u;0<(Math.min(c.width+ c.x,b.width+b.x)-Math.max(c.x,b.x))*(Math.min(c.height+c.y,b.height+b.y)-Math.max(c.y,b.y))?sb.m(a):tb(a)}}};window.OBR.Pl=window.OBR.Pl||ub;vb.prototype.G=function(a,b,c){if(this.m&&"undefined"!==typeof b&&"undefined"!==typeof c){c.method=window.OBR.ya.Js()?c.method:window.OBR.c.fa.Mn;var d=c.callback?c.callback:function(){};b=b?b:{};c.FIRED=c.FIRED?c.FIRED:0;if(!(c.LIMIT&&c.FIRED>=c.LIMIT))switch(c.FIRED+=1,a=this.Bg(a,b,c.method),c.method){case window.OBR.c.fa.Jn:window.OBR.ya.get(this.f,a,d,!0);break;case window.OBR.c.fa.ka:window.OBR.ya.df(this.f,a,d);break;default:window.OBR.ya.Vs(this.f,a,d)}}}; vb.prototype.Bg=function(a,b,c){var d={},e=this.o.hc(),g=!this.o.vb()&&!!e,f=g?e.l("wnid",""):this.o.l("wnid",""),h=g||this.o.vb()?this.o.l("wnid",""):null;e=g?e.l("widgetJsId",""):this.o.l("widgetJsId","");g=g||this.o.vb()?this.o.l("widgetJsId",""):null;b.ajaxMethod=c;b.clientTimestamp=Date.now();b.timestamp="";b.publisherId=this.o.l("pid","");b.sectionId=this.o.l("sid","");b.widgetJsId=e;b.widgetId=f;b.subWidgetJsId=g;b.subWidgetId=h;b.cardIdx=this.o.dh();b.docId=this.o.l("did","");b.uuid=this.o.l("lsd", "");b.platform=this.o.l("readerPlatform","");b.deviceOs="";b.deviceOrientation=window.OBR.b.pk();this.o.oh(!0)||delete b.uuid;d.sessionId=this.u;d.eventGroup=this.B;d.eventTypeId=a;d.requestId=this.o.l("req_id",-1);d.attributes=JSON.stringify(b);return d};vb.prototype.setActive=function(a){this.m=a};window.OBR.T=vb;window.OBR.extern=window.OBR.extern||function(){var a=window.OBR,b={pd:[],getStat:function(){},showDescription:function(b,d){a.g.F(window.OBR.g.i.Zf,function(){window.OBR.km.$s(b,d)},this)},returnedHtmlData:function(b,d){a.controller.Ph(b,d)},returnedIrdData:function(b,d){a.Fb.zj(b,d)},returnedJsonData:function(b,d){a.controller.Vl(b,d)},returnedError:function(b){window.OBR.h.log("Call made using extern class");a.h.log("Callback error"+b)},callRecs:function(b,d){window.OBR.h.log("Call made using extern class"); a.controller.Kh(b,function(a){try{d(a)}catch(g){window.OBR.h.log(g)}})},callClick:function(b,d){window.OBR.h.log("Call made using extern class");a.controller.Mc(b,d)},callWhatIs:function(a,b,e,g,f,h){window.OBR.g.F(window.OBR.g.i.be,function(){window.OBR.Fi.xj(a,b,e,g,f,h)},this);return!1},callUserZapping:function(a,b,e,g,f){window.OBR.g.F(window.OBR.g.i.rg,function(){window.OBR.Ci.cp(a,b,e,g,f)},this);return!1},zappingFormAction:function(a,b,e,g,f){window.OBR.Ci.yn(a,b,e,g,f);return!1},userZappingMessage:function(a){window.OBR.h.log(a.message)}, recClicked:function(b,d){window.OBR.h.log("Call made using extern class");a.controller.om(d)},imageError:function(b){window.OBR.h.log("Call made using extern class");window.OBR.error({name:"obm-ImageError",message:"Error loading as image: "+b.src});a.b.Ej(b)},logError:function(b,d,e,g){a.b.wb(b,d,e,g)},showRecInIframe:function(b,d,e){a.g.F(a.g.i.eg,function(){a.pm.Pv(b,d,e)},this)},openNativeVideoPlayer:function(b,d,e,g,f,h,k,l,m,n,q,p,r,y,D,B,E){a.g.F(a.g.i.Vc,function(){E=E?E:a.s[p].l("req_id", null);window.NVPInjector.main.init(a.b.lw([b,d,e,g,f,h,k,l,m,n,q,p,r,y,E,a.c.hf,a.s[p].l("lang","en"),a.s[p].l("lsd",null),a.s[p].l("pid",null),a.s[p].l("sid",null),a.s[p].l("wnid",null),D,a.s[p].l("gl",""),a.s[p].rh(),a.s[p].l("widgetJsId",a.s[p].D()),a.s[p].l("req_id","-1"),a.s[p].l("pvId","-1")]),a.s[p].Ib(),B)},this);return!1},openOverlay:function(b){a.g.F(a.g.i.Vc,function(){var c=b.getAttribute("data-nvp");if(null!==c&&"string"===typeof c){c=window.JSON.parse(b.getAttribute("data-nvp").replace(/"/g, "#$#").replace(/'/g,'"').replace(/\\"/g,"'").replace("#$#",'\\"'));var e=a.s[c.widgetIdx];c.platform=a.c.hf;c.lang=e.l("lang","en");c.uuid=e.l("lsd",null);c.publisherId=e.l("pid",null);c.sourceId=e.l("sid",null);c.widgetNumberId=e.l("wnid",null);c.location=e.l("gl","");c.timestamp=e.rh();window.NVPInjector.main.recClicked(c,e.Ib())}else a.error({name:"obm-nvpError",message:"Error parsing data-nvp: "+c,stack:"None"})},this);return!1},handshakeNVP:function(){a.g.K(window.OBR.g.i.Vc)},onVideoClick:function(b, d){a.controller.Th(b,d)},manualVideoClicked:function(b,d,e,g,f){a.controller.Lh(b,d,e,g,f)},errorInjectionHandler:function(a){window.OBR.s[a].Vw(a)},reloadWidget:function(){window.OBR.h.log("## Reload widget");a.controller.ym()},researchWidget:function(){window.OBR.h.log("## Research widget");a.controller.rc()},renderSpaWidgets:function(b){window.OBR.h.log("## renderSpaWidgets - SPA has triggered a widget render");window.OBR.c.Nd&&window.OBR.c.Nd.aq!==b?(window.OBR.h.log("## renderSpaWidgets - page navigation detected. triggering reload"), a.controller.ym()):(window.OBR.h.log("## renderSpaWidgets - "+(window.OBR.c.Nd?"still on same page":"first widget mounting detected")+". researching for new widgets on page"),a.controller.rc());window.OBR.c.Nd=window.OBR.c.Nd||{};window.OBR.c.Nd.aq=b},cancelRecommendation:function(b){window.OBR.h.log("cancel recommendation with bocr "+b);a.controller.fp(b)},cancelRecs:function(b,d,e){window.OBR.h.log("cancel recommendation by doc url "+b+" publisher id = "+d+" isAd = "+e);a.controller.gp(b,d,e)}, refreshWidget:function(b){window.OBR.h.log("## Refresh widget");a.controller.Sb(b)},setABtest:function(b){b&&(a.c.Ag="&obAbtest="+b)},refreshSpecificWidget:function(b,d){window.OBR.h.log("## Refresh SPECIFIC widget");"string"!==typeof d?a.g.F(a.g.i.fg,function(){window.OBR.controller.vm(b,d)},this):window.OBR.controller.vm(b,d)},getCountOfRecs:function(b){return a.controller.Kq(b)},onOdbReturn:function(b,d){a.controller.ju(b,d)},closeCard:function(){a.xe.Hp()},closeModal:function(){try{a.modal.hideModal()}catch(c){window.OBR.error(c)}}, handshakeModule:function(b){try{var c=window.OBR.g.br(b);c?window.OBR.g.K(c):a.error({name:"obm-MakeHandShakeError",message:"Error in module: "+b+", Err: Module not found",stack:"None"})}catch(e){window.OBR.error(e)}},callLoadMore:function(a,b){window.OBR.g.F(window.OBR.g.i.Zd,function(){window.OBR.Gh.Oe(a,b)},this)},enableTbx:function(){window.OBR.Ub?window.OBR.Ub.Xk():window.OBR.c.em=!0},closeTbx:function(){window.OBR.Ub.Jp()},scrollIntoView:function(){Oa()},ampIntersectionChange:function(a){window.OBR.W.Cu(a)}, ampUpdateViewportSize:function(){window.OBR.W.oi()},callUserSentiments:function(b,d){window.OBR.g.F(window.OBR.g.i.qg,function(){window.OBR.rn.bp(b,d)},this,null,a.s[d.idx].l("lang","en"));return!1},video:{}};b.video.getVideoRecs=function(a,b,e,g,f,h,k){window.OBR.g.F(window.OBR.g.i.sg,function(){window.OBR.video.zr(a,b,e,g,f,h,k)},this)};b.video.videoClicked=function(a){window.OBR.video.mw(a)};b.video.initInPlayerWidget=function(c){c=new window.OBR.Ln(c);b.pd.push(c);1!==a.g.cr(a.g.i.Xd)&&a.g.F(a.g.i.Xd, function(){a.ic.Dl(b.pd)},this);return c};b.recReasons={};b.recReasons.loadScopedWidget=function(b,d,e,g){return a.controller.Fl(b,d,e,g)};b.recReasons.backFromScopedWidget=function(b){return a.controller.Mo(b)};b.recReasons.onRecLinkHover=function(a){window.OBR.b.N(a.parentElement,"rec-link-hover")};b.recReasons.onRecLinkHoverOut=function(a){window.OBR.b.S(a.parentElement,"rec-link-hover")};b.truncateText=function(a,b,e){OBR._jsc.Ta(window.OBR.qe,a,b,e)};b.reloadPager=function(a,b){(a=window.OBR.s[a])&& window.OBR.controller.fm(a,void 0===b?!1:b)};b.recReasons.onRecFollowClick=function(a,b,e,g){window.OBR.ci&&window.OBR.ci.hu(a,b,e,g)};b.triggerClickPixels=function(b,d,e){a.controller.nn(b,d,e)};b.mraidOpen=function(b,d){a.controller.dw(b,d)};b.customClickHandler=function(b,d,e){a.controller.cw(b,d,e)};b.onCheqResponse=function(b){a.Nf.Dj(b)};b.callViewed=function(a){window.OBR.controller.ep(a)};b.feed={};b.feed.loadNextChunk=function(a){return window.OBR.zf&&window.OBR.zf.externalChunkLoad(a)}; return b}();window.outbrain=window.outbrain||{};window.outbrain.returnedHtmlData=function(a,b){window.OBR.controller.Ph(a,b)};window.outbrain.returnedIrdJsonData=function(a,b){window.OBR.Fb.zj(a,b)};window.outbrain.returnedJsonData=function(a,b){window.OBR.controller.Vl(a,b)};window.outbrain.returnedError=function(a){window.OBR.h.log("Callback error"+a)};window.outbrain.callRecs=function(a,b){window.OBR.controller.Kh(a,b)};window.outbrain.callClick=function(a,b){window.OBR.controller.Mc(a,b)}; window.outbrain.callWhatIs=function(a,b,c,d,e,g){window.OBR.g.F(window.OBR.g.i.be,function(){window.OBR.Fi.xj(a,b,c,d,e,g)},this)};window.outbrain.callLoadMore=function(a,b){window.OBR.g.F(window.OBR.g.i.Zd,function(){window.OBR.Gh.Oe(a,b)},this)};window.outbrain.recClicked=function(a,b){window.OBR.controller.om(b)};window.outbrain.imageError=function(a){window.OBR.b.Ej(a)};window.outbrain.closeModal=function(){try{window.OBR.modal.hideModal()}catch(a){window.OBR.error(a)}}; window.outbrain_rater=window.outbrain_rater||{};window.outbrain_rater.returnedHtmlData=function(a,b){window.OBR.controller.Ph(a,b)};window.outbrain_rater.returnedCancelOdbData=function(a){window.OBR.controller.vu(a)};!0===window.OBR.c.gl&&(window.OBR.h.log("Widget Start!"),window.OBR.c.gl=!1,"boolean"===typeof window.OB_PASSIVE_MODE&&!0===window.OB_PASSIVE_MODE?window.OBR.h.log("passive"):window.OBR.controller.Cm());} catch(ex){ OBR.error(ex);}})(window.OBR);